<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Railway Operation Simulator: TextUnit.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="railway-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Railway Operation Simulator
   &#160;<span id="projectnumber">v2.23.2</span>
   </div>
   <div id="projectbrief">A railway simulator for Windows</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_text_unit_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">TextUnit.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_text_unit_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// TextUnit.h</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">      Comments in .h files are believed to be accurate and up to date</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">      This is a source code file for &quot;railway.exe&quot;, a railway operation</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">      simulator, written originally in Borland C++ Builder 4 Professional with</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">      later updates in Embarcadero C++Builder.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">      Copyright (C) 2010 Albert Ball [original development]</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">      This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">      it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">      the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">      (at your option) any later version.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">      This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">      but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">      GNU General Public License for more details.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">      You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">      along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#ifndef TextUnitH</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#define TextUnitH</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;fstream&gt;</span>  <span class="comment">//for file saving &amp; loading</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;vcl.h&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;windows.h&gt;</span>            <span class="comment">//needed for 64 bit compilation</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">class </span><a class="code" href="class_t_display.html">TDisplay</a>; <span class="comment">// predeclaration</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_t_text_item.html">   36</a></span>&#160;<span class="comment"></span><span class="keyword">class </span><a class="code" href="class_t_text_item.html">TTextItem</a></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;{</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">/* should use private members but can&#39;t use properties with a stack AnsiString (a VCL class)</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">      and cumbersome to have Set... &amp; Get... functions for every data member.  Don&#39;t seem able to have properties for</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">      non AnsiString members with non property AnsiString either.  If have an AnsiString* and declare it on the stack with &#39;new&#39;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">      also can&#39;t use a property with it, if do then get errors that sound ordinary enough, but can&#39;t enter text in either the</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">      text.h or .cpp files, so it seems to mess up the program altogether.  If try to use properties for others &amp; AnsiString*</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">      as it is then the program compiles, but when try to load KingsCrossSignals.trk fails on loading 6th or 7th piece of text,</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">      not at the AnsiString value but at an earlier int value!  Hence leave as is.  Clearly properties &amp; VCL classes don&#39;t mix!</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_t_text_item.html#a4c25a60852b8493f06d26e64241aa98f">   47</a></span>&#160;    AnsiString <a class="code" href="class_t_text_item.html#a4c25a60852b8493f06d26e64241aa98f">TextString</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_t_text_item.html#a1be1010d3eed8002ab893103a43ffc7b">   49</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_t_text_item.html#a1be1010d3eed8002ab893103a43ffc7b">HPos</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_t_text_item.html#a7fc4c3a7d8583931e2ac595006550f9c">   51</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_t_text_item.html#a7fc4c3a7d8583931e2ac595006550f9c">VPos</a>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_t_text_item.html#a0960b6aa95ed04a4e7bc9131dd6e879e">   53</a></span>&#160;    TFont *<a class="code" href="class_t_text_item.html#a0960b6aa95ed04a4e7bc9131dd6e879e">Font</a>;  <span class="comment">//note that TFont::Style is a set (TFontStyles) of enum {fsBold, fsItalic, fsUnderline, fsStrikeOut} where can add to it using &lt;&lt;, e.g. NewFont-&gt;Style = TFontStyles() &lt;&lt; fsBold;</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;                  <span class="comment">//to check if Style contains a specific element use if(NewFont-&gt;Style.Contains(fsUnderline))</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <a class="code" href="class_t_text_item.html#a298a9d148d360fb1b12bf7c5aab717fa">TTextItem</a>(); <span class="comment">// default constructor</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <a class="code" href="class_t_text_item.html#a298a9d148d360fb1b12bf7c5aab717fa">TTextItem</a>(<span class="keywordtype">int</span> H, <span class="keywordtype">int</span> V, AnsiString T, TFont *&amp;InputFont); <span class="comment">// constructor, sets the values given</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;};</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="class_t_text_handler.html">   63</a></span>&#160;<span class="comment"></span><span class="keyword">class </span><a class="code" href="class_t_text_handler.html">TTextHandler</a></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;{</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_t_text_handler.html#a2538805e05af3522211884f3c2426e84">   67</a></span>&#160;    <span class="keyword">typedef</span> std::vector&lt;TTextItem&gt;<a class="code" href="class_t_text_handler.html#a2538805e05af3522211884f3c2426e84">TTextVector</a>; <span class="comment">// a vector that contains text items</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="class_t_text_handler.html#a691b60d7ecb9bd6f8d8355467f3136e2">   68</a></span>&#160;    <span class="keyword">typedef</span> std::vector&lt;TTextItem&gt;::iterator <a class="code" href="class_t_text_handler.html#a691b60d7ecb9bd6f8d8355467f3136e2">TTextVectorIterator</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_t_text_handler.html#ae846ffb200b15db30bf486fe0c00922a">   69</a></span>&#160;    <span class="keyword">typedef</span> std::vector&lt;TFont*&gt;<a class="code" href="class_t_text_handler.html#ae846ffb200b15db30bf486fe0c00922a">TFontVector</a>; <span class="comment">// new at v2.3.0</span></div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="class_t_text_handler.html#a059b11907e0db9c7a847682a455b9cb9">   71</a></span>&#160;    <a class="code" href="class_t_text_handler.html#a2538805e05af3522211884f3c2426e84">TTextVector</a> <a class="code" href="class_t_text_handler.html#a059b11907e0db9c7a847682a455b9cb9">TextVector</a>, <a class="code" href="class_t_text_handler.html#a5191f5daba7e3f1ea8f0ae82d8067211">SelectTextVector</a>; <span class="comment">// TextVector contains all the railway&#39;s text items, SelectTextVector is used to store text items</span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="comment">// that are captured during a screen segment selection</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_t_text_handler.html#a3eec5ed173503c7d69271f2f4515db13">   73</a></span>&#160;    <a class="code" href="class_t_text_handler.html#ae846ffb200b15db30bf486fe0c00922a">TFontVector</a> <a class="code" href="class_t_text_handler.html#a3eec5ed173503c7d69271f2f4515db13">FontVector</a>; <span class="comment">// new at v2.3.0</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="comment">// inline functions</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_t_text_handler.html#af766ce44ed9a37e5a723a4ef3968ace0">   76</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#af766ce44ed9a37e5a723a4ef3968ace0">SetNewHPos</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> TextItem, <span class="keywordtype">int</span> NewHPos)</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    {</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <a class="code" href="class_t_text_handler.html#ac478536f458d9cda8a841953672f6525">TextPtrAt</a>(24, TextItem)-&gt;<a class="code" href="class_t_text_item.html#a1be1010d3eed8002ab893103a43ffc7b">HPos</a> = NewHPos;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    } <span class="comment">// change the value of HPos to NewHPos for</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="comment">// the text item at position TextItem in TextVector</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="class_t_text_handler.html#a65f0033d036358a5cb2ec5f4732e64ee">   82</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#a65f0033d036358a5cb2ec5f4732e64ee">SetNewVPos</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> TextItem, <span class="keywordtype">int</span> NewVPos)</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    {</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <a class="code" href="class_t_text_handler.html#ac478536f458d9cda8a841953672f6525">TextPtrAt</a>(25, TextItem)-&gt;<a class="code" href="class_t_text_item.html#a7fc4c3a7d8583931e2ac595006550f9c">VPos</a> = NewVPos;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    } <span class="comment">// change the value of VPos to NewVPos for</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="comment">// the text item at position TextItem in TextVector</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="class_t_text_handler.html#aab03bea00b30f17935d58d144a25f15a">   88</a></span>&#160;    <a class="code" href="class_t_text_handler.html#aab03bea00b30f17935d58d144a25f15a">~TTextHandler</a>() <span class="comment">// destructor</span></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    {</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <a class="code" href="class_t_text_handler.html#a3eec5ed173503c7d69271f2f4515db13">FontVector</a>.clear();</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        <a class="code" href="class_t_text_handler.html#a059b11907e0db9c7a847682a455b9cb9">TextVector</a>.clear();</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    }</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="comment">// functions defined in .cpp file</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_t_text_handler.html#a9b78e10ef2f0907a845c0d8ed7ccdede">CheckTextElementsInFile</a>(<span class="keywordtype">int</span> Caller, std::ifstream&amp; VecFile);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_t_text_handler.html#a0fb5dca23fd07e642c611381b6344746">FindText</a>(<span class="keywordtype">int</span> Caller, AnsiString Name, <span class="keywordtype">int</span> &amp;HPos, <span class="keywordtype">int</span> &amp;VPos);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_t_text_handler.html#a316bc0c1c06d77aa8c33a668946e49f1">FontSame</a>(<span class="keywordtype">int</span> Caller, TFont *ExistingFont, TFont *InputFont);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_t_text_handler.html#a5741d1b36f1245b55926cb1243046307">TextErase</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPosition, <span class="keywordtype">int</span> VPosition, AnsiString TextToErase); <span class="comment">//NB ONLY erases from text vector, erased from screen by Clearand...</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="comment"></span>    <span class="keywordtype">bool</span> <a class="code" href="class_t_text_handler.html#af6b912627bb0401c255b4db5e272e9fd">TextFound</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPosInput, <span class="keywordtype">int</span> VPosInput, AnsiString&amp; Text);</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_t_text_handler.html#a19a5042d87a979d56ba4678bee8b2abb">GetFontStyleAsInt</a>(<span class="keywordtype">int</span> Caller, TFont *InputFont);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <a class="code" href="class_t_text_item.html">TTextItem</a> *<a class="code" href="class_t_text_handler.html#a7fa848c67afecfa5fd33d7fee4ab805b">SelectTextPtrAt</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> At);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <a class="code" href="class_t_text_item.html">TTextItem</a> *<a class="code" href="class_t_text_handler.html#ac478536f458d9cda8a841953672f6525">TextPtrAt</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> At);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_t_text_handler.html#a48c65d591fcb76f0a8e86c7f734849b2">SelectTextVectorSize</a>(<span class="keywordtype">int</span> Caller);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_t_text_handler.html#a7dfd4e30235878fb01e7387715e0cb0f">TextVectorSize</a>(<span class="keywordtype">int</span> Caller);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    TFontStyles <a class="code" href="class_t_text_handler.html#a11c7049a10f03f7bd56e6b32eb23b766">SetFontStyleFromInt</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> Input);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#a49b9ef44166e8768b231fd4beea8c0da">EnterAndDisplayNewText</a>(<span class="keywordtype">int</span> Caller, <a class="code" href="class_t_text_item.html">TTextItem</a> Text, <span class="keywordtype">int</span> HPos, <span class="keywordtype">int</span> VPos);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#ab67bb7278c89557bf9cc8bef475afab5">LoadText</a>(<span class="keywordtype">int</span> Caller, std::ifstream&amp; VecFile);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#a30f32d9d3267bc8c90298e0ecd3c26fd">RebuildFromTextVector</a>(<span class="keywordtype">int</span> Caller, <a class="code" href="class_t_display.html">TDisplay</a> *Disp);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#a07441155bee467c9fb111b8332681466">SaveText</a>(<span class="keywordtype">int</span> Caller, std::ofstream&amp; VecFile);</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#ae50027851479dd0f362a75abad793e7a">TextClear</a>(<span class="keywordtype">int</span> Caller);</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#ad8129c58cfa1ecad2fc343efdb96eb5e">TextMove</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HPosInput, <span class="keywordtype">int</span> VPosInput, <span class="keywordtype">int</span> &amp;TextItem, <span class="keywordtype">int</span> &amp;TextMoveHPos, <span class="keywordtype">int</span> &amp;TextMoveVPos, <span class="keywordtype">bool</span> &amp;TextFoundFlag);</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#aa91cd392aacad3dbd69541b2ecad7f8e">TextVectorPush</a>(<span class="keywordtype">int</span> Caller, <a class="code" href="class_t_text_item.html">TTextItem</a> Text);</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#a599c1a13d78b63a18ebc17550dfa9a0d">TextVectorResetPosition</a>(<span class="keywordtype">int</span> Caller, <span class="keywordtype">int</span> HOffset, <span class="keywordtype">int</span> VOffset);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_text_handler.html#a7d202827ae62cd288a07431579977539">WriteTextToImage</a>(<span class="keywordtype">int</span> Caller, Graphics::TBitmap *Bitmap);</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;};</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keyword">extern</span> <a class="code" href="class_t_text_handler.html">TTextHandler</a> *<a class="code" href="_text_unit_8h.html#a76506a61acd4ae7f1d31459b0ff1369e">TextHandler</a>; <span class="comment">// the object pointer, object created in InterfaceUnit</span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="comment">// ---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_t_text_item_html_a298a9d148d360fb1b12bf7c5aab717fa"><div class="ttname"><a href="class_t_text_item.html#a298a9d148d360fb1b12bf7c5aab717fa">TTextItem::TTextItem</a></div><div class="ttdeci">TTextItem()</div><div class="ttdoc">&lt; the text font</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00054">TextUnit.cpp:54</a></div></div>
<div class="ttc" id="aclass_t_text_item_html_a7fc4c3a7d8583931e2ac595006550f9c"><div class="ttname"><a href="class_t_text_item.html#a7fc4c3a7d8583931e2ac595006550f9c">TTextItem::VPos</a></div><div class="ttdeci">int VPos</div><div class="ttdoc">the vertical position on the railway</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00051">TextUnit.h:51</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a30f32d9d3267bc8c90298e0ecd3c26fd"><div class="ttname"><a href="class_t_text_handler.html#a30f32d9d3267bc8c90298e0ecd3c26fd">TTextHandler::RebuildFromTextVector</a></div><div class="ttdeci">void RebuildFromTextVector(int Caller, TDisplay *Disp)</div><div class="ttdoc">display all text items in TextVector on the screen</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00428">TextUnit.cpp:428</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a2538805e05af3522211884f3c2426e84"><div class="ttname"><a href="class_t_text_handler.html#a2538805e05af3522211884f3c2426e84">TTextHandler::TTextVector</a></div><div class="ttdeci">std::vector&lt; TTextItem &gt; TTextVector</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00067">TextUnit.h:67</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_aab03bea00b30f17935d58d144a25f15a"><div class="ttname"><a href="class_t_text_handler.html#aab03bea00b30f17935d58d144a25f15a">TTextHandler::~TTextHandler</a></div><div class="ttdeci">~TTextHandler()</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00088">TextUnit.h:88</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a059b11907e0db9c7a847682a455b9cb9"><div class="ttname"><a href="class_t_text_handler.html#a059b11907e0db9c7a847682a455b9cb9">TTextHandler::TextVector</a></div><div class="ttdeci">TTextVector TextVector</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00071">TextUnit.h:71</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_ab67bb7278c89557bf9cc8bef475afab5"><div class="ttname"><a href="class_t_text_handler.html#ab67bb7278c89557bf9cc8bef475afab5">TTextHandler::LoadText</a></div><div class="ttdeci">void LoadText(int Caller, std::ifstream &amp;VecFile)</div><div class="ttdoc">load the railway's text from VecFile</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00300">TextUnit.cpp:300</a></div></div>
<div class="ttc" id="aclass_t_text_item_html_a1be1010d3eed8002ab893103a43ffc7b"><div class="ttname"><a href="class_t_text_item.html#a1be1010d3eed8002ab893103a43ffc7b">TTextItem::HPos</a></div><div class="ttdeci">int HPos</div><div class="ttdoc">the horizontal position on the railway</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00049">TextUnit.h:49</a></div></div>
<div class="ttc" id="a_text_unit_8h_html_a76506a61acd4ae7f1d31459b0ff1369e"><div class="ttname"><a href="_text_unit_8h.html#a76506a61acd4ae7f1d31459b0ff1369e">TextHandler</a></div><div class="ttdeci">TTextHandler * TextHandler</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00098">TextUnit.cpp:98</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html"><div class="ttname"><a href="class_t_text_handler.html">TTextHandler</a></div><div class="ttdoc">A single object that handles text management.</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00063">TextUnit.h:64</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a19a5042d87a979d56ba4678bee8b2abb"><div class="ttname"><a href="class_t_text_handler.html#a19a5042d87a979d56ba4678bee8b2abb">TTextHandler::GetFontStyleAsInt</a></div><div class="ttdeci">int GetFontStyleAsInt(int Caller, TFont *InputFont)</div><div class="ttdoc">retrieve the style of the font as a coded integer</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00102">TextUnit.cpp:102</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a5191f5daba7e3f1ea8f0ae82d8067211"><div class="ttname"><a href="class_t_text_handler.html#a5191f5daba7e3f1ea8f0ae82d8067211">TTextHandler::SelectTextVector</a></div><div class="ttdeci">TTextVector SelectTextVector</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00071">TextUnit.h:71</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a0fb5dca23fd07e642c611381b6344746"><div class="ttname"><a href="class_t_text_handler.html#a0fb5dca23fd07e642c611381b6344746">TTextHandler::FindText</a></div><div class="ttdeci">bool FindText(int Caller, AnsiString Name, int &amp;HPos, int &amp;VPos)</div><div class="ttdoc">look in TextVector for text item 'Name', and if found return true and return its position in &amp;HPos an...</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00588">TextUnit.cpp:588</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a48c65d591fcb76f0a8e86c7f734849b2"><div class="ttname"><a href="class_t_text_handler.html#a48c65d591fcb76f0a8e86c7f734849b2">TTextHandler::SelectTextVectorSize</a></div><div class="ttdeci">unsigned int SelectTextVectorSize(int Caller)</div><div class="ttdoc">return the number of items in SelectTextVector</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00547">TextUnit.cpp:547</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a9b78e10ef2f0907a845c0d8ed7ccdede"><div class="ttname"><a href="class_t_text_handler.html#a9b78e10ef2f0907a845c0d8ed7ccdede">TTextHandler::CheckTextElementsInFile</a></div><div class="ttdeci">bool CheckTextElementsInFile(int Caller, std::ifstream &amp;VecFile)</div><div class="ttdoc">check the validity of text items in VecFile prior to loading, return true for success</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00369">TextUnit.cpp:369</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a7d202827ae62cd288a07431579977539"><div class="ttname"><a href="class_t_text_handler.html#a7d202827ae62cd288a07431579977539">TTextHandler::WriteTextToImage</a></div><div class="ttdeci">void WriteTextToImage(int Caller, Graphics::TBitmap *Bitmap)</div><div class="ttdoc">write all items in TextVector to the railway image in 'Bitmap'</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00445">TextUnit.cpp:445</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a691b60d7ecb9bd6f8d8355467f3136e2"><div class="ttname"><a href="class_t_text_handler.html#a691b60d7ecb9bd6f8d8355467f3136e2">TTextHandler::TTextVectorIterator</a></div><div class="ttdeci">std::vector&lt; TTextItem &gt;::iterator TTextVectorIterator</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00068">TextUnit.h:68</a></div></div>
<div class="ttc" id="aclass_t_text_item_html"><div class="ttname"><a href="class_t_text_item.html">TTextItem</a></div><div class="ttdoc">A single piece of text that can be displayed on the railway.</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00036">TextUnit.h:37</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_ae846ffb200b15db30bf486fe0c00922a"><div class="ttname"><a href="class_t_text_handler.html#ae846ffb200b15db30bf486fe0c00922a">TTextHandler::TFontVector</a></div><div class="ttdeci">std::vector&lt; TFont * &gt; TFontVector</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00069">TextUnit.h:69</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_af6b912627bb0401c255b4db5e272e9fd"><div class="ttname"><a href="class_t_text_handler.html#af6b912627bb0401c255b4db5e272e9fd">TTextHandler::TextFound</a></div><div class="ttdeci">bool TextFound(int Caller, int HPosInput, int VPosInput, AnsiString &amp;Text)</div><div class="ttdoc">&lt; look for a text item in the vicinity of HPosInput &amp; VPosInput &amp; if TextToErase is null then erase a...</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00243">TextUnit.cpp:243</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_ac478536f458d9cda8a841953672f6525"><div class="ttname"><a href="class_t_text_handler.html#ac478536f458d9cda8a841953672f6525">TTextHandler::TextPtrAt</a></div><div class="ttdeci">TTextItem * TextPtrAt(int Caller, int At)</div><div class="ttdoc">return the text item at position 'At' in TextVector (carries out range checking)</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00558">TextUnit.cpp:558</a></div></div>
<div class="ttc" id="aclass_t_text_item_html_a0960b6aa95ed04a4e7bc9131dd6e879e"><div class="ttname"><a href="class_t_text_item.html#a0960b6aa95ed04a4e7bc9131dd6e879e">TTextItem::Font</a></div><div class="ttdeci">TFont * Font</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00053">TextUnit.h:53</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a7fa848c67afecfa5fd33d7fee4ab805b"><div class="ttname"><a href="class_t_text_handler.html#a7fa848c67afecfa5fd33d7fee4ab805b">TTextHandler::SelectTextPtrAt</a></div><div class="ttdeci">TTextItem * SelectTextPtrAt(int Caller, int At)</div><div class="ttdoc">return the text item at position 'At' in SelectTextVector (carries out range checking)</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00573">TextUnit.cpp:573</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_aa91cd392aacad3dbd69541b2ecad7f8e"><div class="ttname"><a href="class_t_text_handler.html#aa91cd392aacad3dbd69541b2ecad7f8e">TTextHandler::TextVectorPush</a></div><div class="ttdeci">void TextVectorPush(int Caller, TTextItem Text)</div><div class="ttdoc">push &amp;Text onto TextVector &amp; reset the size of the railway if necessary</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00508">TextUnit.cpp:508</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_af766ce44ed9a37e5a723a4ef3968ace0"><div class="ttname"><a href="class_t_text_handler.html#af766ce44ed9a37e5a723a4ef3968ace0">TTextHandler::SetNewHPos</a></div><div class="ttdeci">void SetNewHPos(int Caller, int TextItem, int NewHPos)</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00076">TextUnit.h:76</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a11c7049a10f03f7bd56e6b32eb23b766"><div class="ttname"><a href="class_t_text_handler.html#a11c7049a10f03f7bd56e6b32eb23b766">TTextHandler::SetFontStyleFromInt</a></div><div class="ttdeci">TFontStyles SetFontStyleFromInt(int Caller, int Input)</div><div class="ttdoc">used in loading from a file</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00129">TextUnit.cpp:129</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_ae50027851479dd0f362a75abad793e7a"><div class="ttname"><a href="class_t_text_handler.html#ae50027851479dd0f362a75abad793e7a">TTextHandler::TextClear</a></div><div class="ttdeci">void TextClear(int Caller)</div><div class="ttdoc">empties TextVector and sets all offsets back to zero if there is no active or inactive track</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00480">TextUnit.cpp:480</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a49b9ef44166e8768b231fd4beea8c0da"><div class="ttname"><a href="class_t_text_handler.html#a49b9ef44166e8768b231fd4beea8c0da">TTextHandler::EnterAndDisplayNewText</a></div><div class="ttdeci">void EnterAndDisplayNewText(int Caller, TTextItem Text, int HPos, int VPos)</div><div class="ttdoc">add Text to TextVector and display it on the screen</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00193">TextUnit.cpp:193</a></div></div>
<div class="ttc" id="aclass_t_display_html"><div class="ttname"><a href="class_t_display.html">TDisplay</a></div><div class="ttdef"><b>Definition:</b> <a href="_display_unit_8h_source.html#l00049">DisplayUnit.h:50</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a3eec5ed173503c7d69271f2f4515db13"><div class="ttname"><a href="class_t_text_handler.html#a3eec5ed173503c7d69271f2f4515db13">TTextHandler::FontVector</a></div><div class="ttdeci">TFontVector FontVector</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00073">TextUnit.h:73</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a316bc0c1c06d77aa8c33a668946e49f1"><div class="ttname"><a href="class_t_text_handler.html#a316bc0c1c06d77aa8c33a668946e49f1">TTextHandler::FontSame</a></div><div class="ttdeci">bool FontSame(int Caller, TFont *ExistingFont, TFont *InputFont)</div><div class="ttdoc">checks colour, size, name, charset and style</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00159">TextUnit.cpp:159</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a07441155bee467c9fb111b8332681466"><div class="ttname"><a href="class_t_text_handler.html#a07441155bee467c9fb111b8332681466">TTextHandler::SaveText</a></div><div class="ttdeci">void SaveText(int Caller, std::ofstream &amp;VecFile)</div><div class="ttdoc">save the railway's text to VecFile</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00338">TextUnit.cpp:338</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a599c1a13d78b63a18ebc17550dfa9a0d"><div class="ttname"><a href="class_t_text_handler.html#a599c1a13d78b63a18ebc17550dfa9a0d">TTextHandler::TextVectorResetPosition</a></div><div class="ttdeci">void TextVectorResetPosition(int Caller, int HOffset, int VOffset)</div><div class="ttdoc">change the HPos &amp; VPos values for all items in TextVector by the amount in HOffset and VOffset (unuse...</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00463">TextUnit.cpp:463</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a65f0033d036358a5cb2ec5f4732e64ee"><div class="ttname"><a href="class_t_text_handler.html#a65f0033d036358a5cb2ec5f4732e64ee">TTextHandler::SetNewVPos</a></div><div class="ttdeci">void SetNewVPos(int Caller, int TextItem, int NewVPos)</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00082">TextUnit.h:82</a></div></div>
<div class="ttc" id="aclass_t_text_item_html_a4c25a60852b8493f06d26e64241aa98f"><div class="ttname"><a href="class_t_text_item.html#a4c25a60852b8493f06d26e64241aa98f">TTextItem::TextString</a></div><div class="ttdeci">AnsiString TextString</div><div class="ttdoc">the text string</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8h_source.html#l00047">TextUnit.h:47</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a5741d1b36f1245b55926cb1243046307"><div class="ttname"><a href="class_t_text_handler.html#a5741d1b36f1245b55926cb1243046307">TTextHandler::TextErase</a></div><div class="ttdeci">bool TextErase(int Caller, int HPosition, int VPosition, AnsiString TextToErase)</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00269">TextUnit.cpp:269</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_a7dfd4e30235878fb01e7387715e0cb0f"><div class="ttname"><a href="class_t_text_handler.html#a7dfd4e30235878fb01e7387715e0cb0f">TTextHandler::TextVectorSize</a></div><div class="ttdeci">unsigned int TextVectorSize(int Caller)</div><div class="ttdoc">return the number of items in TextVector</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00536">TextUnit.cpp:536</a></div></div>
<div class="ttc" id="aclass_t_text_handler_html_ad8129c58cfa1ecad2fc343efdb96eb5e"><div class="ttname"><a href="class_t_text_handler.html#ad8129c58cfa1ecad2fc343efdb96eb5e">TTextHandler::TextMove</a></div><div class="ttdeci">void TextMove(int Caller, int HPosInput, int VPosInput, int &amp;TextItem, int &amp;TextMoveHPos, int &amp;TextMoveVPos, bool &amp;TextFoundFlag)</div><div class="ttdef"><b>Definition:</b> <a href="_text_unit_8cpp_source.html#l00212">TextUnit.cpp:212</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="_text_unit_8h.html">TextUnit.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
  </ul>
</div>
</body>
</html>
